package com.lx.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 段誉
 * @create 2019-07-09 17:16
 */
@RestController
public class HelloController {
  @GetMapping("/hello")
  public String hello(@RequestParam String name) {
    return "hello " + name + ", producer is ready";
  }
}
